package com.lynx.core.tation;

import java.lang.annotation.Documented;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import com.lynx.core.type.PathType;
import com.lynx.core.type.PatternType;
/**
 * 
 * @author lxp
 *
 */
@Target( { java.lang.annotation.ElementType.METHOD })
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Inherited
public @interface ApiPath {
	public abstract String Path();

	public abstract String Postfix() default "";

	public abstract PatternType Pattern() default PatternType.Normal;

	public abstract PathType Type() default PathType.all;

	public abstract Class model() default Object.class;
}